package ${package.Mapper};

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ${package.Entity}.${entity};
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.util.List;

/**
* ${table.comment!}Mapper接口
* @author 一蓑烟雨
* @date ${date}
* @version 1.0.0
*/
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
    /**
    * 根据条件分页查询${table.comment}信息
    * @param page: 分页
    * @param ${entity} ${entity?uncap_first}: ${table.comment}信息
    * @param dates:  时间范围
    * @return com.baomidou.mybatisplus.core.metadata.IPage<${package.Entity}.${entity}>
    * @author 一蓑烟雨
    * @date ${date}
    */
    IPage<${entity}> get${entity}ListByPage(Page<${entity}> page, @Param("${entity?uncap_first}") ${entity} ${entity?uncap_first},
            @Param("dates") LocalDate[] dates);

}
</#if>
